package com.kitty.game.role.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import java.util.concurrent.ThreadLocalRandom;

/**
 * 选区信息
 */
@MessageMeta(module = Modules.MSG_L_AGENT_RESULT)
public class RespAgentResult extends Message {
    private int auth_key=9966390;//7210765; xor
    private int result = 14311; //xor
    private short privilege=1000;//GM权限
    private String ip;
    private short port=743; //xor 8211
    private int seed=1812341968;// origin ;
    private short id = 14317; //xor
    private String serverName;
    private byte serverStatus = 3;///这个是选区的状态 1维护 2正常 3繁忙 4满 5爆满
    private String msg;

    public int getAuth_key() {
        return auth_key;
    }

    public void setAuth_key(int auth_key) {
        this.auth_key = auth_key;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public short getPrivilege() {
        return privilege;
    }

    public void setPrivilege(short privilege) {
        this.privilege = privilege;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public short getPort() {
        return port;
    }

    public void setPort(short port) {
        this.port = port;
    }

    public int getSeed() {
        return seed;
    }

    public void setSeed(int seed) {
        this.seed = seed;
    }

    public short getId() {
        return id;
    }

    public void setId(short id) {
        this.id = id;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public byte getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(byte serverStatus) {
        this.serverStatus = serverStatus;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
